<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <title>地址管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/css/see/reset.min.css">
    <link rel="stylesheet" href="/plugins/iosselect/iosselect.css">
    <link rel="stylesheet" href="/css/see/address.min.css?v=<%=$version%>">
</head>
<body style="background: #f1f1f1">
<div id="addAddress" v-cloak>
    <div class="circleBar-top">
        <span class="goback" @click="getBack()"></span>
        {{name}}
        <strong class="seeIndex-setUp" @click="addUserDeliveryAddress()">保存</strong>
    </div>
    <div class="addAddress-top">
        <div class="addAddress-name">
            <span>收货人</span>
            <input type="text" v-model="data.consignee" placeholder="请输入收货人真实姓名">
        </div>
        <div class="addAddress-phone">
            <span>手机号</span>
            <input type="text" v-model="data.phone" placeholder="请输入收货人手机号">
        </div>
        <!--<div class="addAddress-data" v-if="type==1||type==2">-->
            <!--<span>收货时间</span>-->
            <!--<input type="text" placeholder="周一至周五发货">-->
        <!--</div>-->
    </div>
    <div class="addAddress-cent">
        <div class="addAddress-region" @click="getSelect()">
            <span>所在地区</span>
            <div class="pc-box">
                <input type="hidden" name="contact_province_code" data-id="0001" id="contact_province_code" value="" data-province-name="">
                <input type="hidden" name="contact_city_code" id="contact_city_code" value="" data-city-name="">
                <span v-if="type==1||type==4" data-province-code="" data-city-code="" data-district-code="" id="show_contact">请选择地区</span>
                <span v-if="type==2||type==3||type==5" :data-province-code="data.provinceId" :data-city-code="data.cityId" :data-district-code="data.areaId" id="show_contact">{{addressList.provinceName}}&nbsp;{{addressList.cityName}}&nbsp;{{addressList.areaName}}</span>
            </div>
            <!--<strong>飞机离开时间来看时间</strong>-->
        </div>
        <div class="addAddress-address">
            <span>详细地址</span>
            <input type="text" name="name" :value="addressList.address" v-model="data.address" placeholder="请输入详细收货地址">
        </div>
    </div>
    <div class="addAddress-default" v-if="type==1||type==2">
        <span class="addAddress-icon1" :class="{'addAddress-icon2':data.isDefault==1}" @click="getIsDefault()">设为默认</span>
    </div>
    <div class="addAddress-default" v-if="type==4||type==5">
        <span class="addAddress-icon1" :class="{'addAddress-icon3':data.isDefault==1}" @click="getIsDefault()">设为默认</span>
    </div>
    <prompt-view ref="prompt"></prompt-view>
</div>
<script src='/plugins/js/jquery-1.11.3.min.js'></script>
<script type="text/javascript" src="/plugins/js/vue.min.js"></script>
<script type="text/javascript" src="/plugins/iosselect/iosSelect1.js"></script>
<script type="text/javascript" src="/js/see/addAddress.js?v=<%=$version%>"></script>

</body>
</html>